import axios from '@/utils/request';

export function getSchoolLevelList(params) {
    return axios.post({
        url: '/school-level/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function getSchoolLevelListAll(params) {
    return axios.post({
        url: '/school-level/listAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSchoolLevel(params) {
    return axios.post({
        url: '/school-level/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSchoolLevel(params) {
    return axios.post({
        url: '/school-level/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSchoolLevel(params) {
    return axios.post({
        url: '/school-level/load',
        data: params
    }).then((res) => {
        return res
    })
}

